Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diary: dont crash in update path #2955

Merged
merged 3 commits into from
Oct 13, 2023
Merged

Conversation

arthyn
Copy link
Member

@arthyn arthyn commented Oct 13, 2023

This should fix LAND-1061 by safely accessing notes when we try to make notifications. I'm not sure however of the cause of why one might not have the note being commented on, but seems highly possible with funny permissions.

Also put a little rider in here to fix the notification dot color.

@arthyn arthyn requested review from patosullivan and Fang- October 13, 2023 19:35
@linear
Copy link

linear bot commented Oct 13, 2023

LAND-1061 notebook: mishandling of time causing crash in subscribers

We currently have crash in the update path causing a loop. Beyond that it seems that we're possibly using the wrong time to look up the note for a notification which is why it's crashing in the first place.

Copy link
Member

@patosullivan patosullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@arthyn arthyn merged commit 19a852a into develop Oct 13, 2023
@arthyn arthyn deleted the hm/dont-crash-in-update-path branch October 13, 2023 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants